package com.example.model;

import java.util.List;

/**
 * @Classname TreeModel
 * @Description TODO
 * @Date 2022/7/31 9:07
 * @Created by XiongXiong
 * @Author: X.I.O
 *
 * 树形模块
 */
public class TreeModel {

    private Integer id;

    private Integer pid;

    private String title;

    private String filed;

    private List<TreeModel> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFiled() {
        return filed;
    }

    public void setFiled(String filed) {
        this.filed = filed;
    }

    public List<TreeModel> getChildren() {
        return children;
    }

    public void setChildren(List<TreeModel> children) {
        this.children = children;
    }
}
